package com.czxy.dao;

import com.czxy.domain.Commodity;
import com.czxy.domain.CommodityVo;
import com.github.pagehelper.PageInfo;
import org.apache.ibatis.annotations.Select;
import tk.mybatis.mapper.common.Mapper;

import java.util.List;

/**
 * @author zhangmengxiang1@itcast.cn
 * @version 1.0
 * @date 2020/2/11
 */
@org.apache.ibatis.annotations.Mapper
public interface CommodityDao extends Mapper<Commodity> {

    @Select("SELECT * FROM commodity WHERE cnumber < 50")
    List<Commodity> findAllCommodityQS();
}
